package com.alibaba.dubbo.registry.common.domain;

import java.util.List;

/**
 * @author shihui
 * 
 * 服务类对象
 */
public class Service extends Entity {

	private static final long serialVersionUID = -2732702161437031980L;
	
	private String service;  //service名称

	private List<Cache> caches;
	
	private List<Provider> providers;
	
	private List<Consumer> consumers;
	
	private List<Override> overrides;

	public List<Cache> getCaches() {
		return caches;
	}

	public void setCaches(List<Cache> caches) {
		this.caches = caches;
	}

	public List<Provider> getProviders() {
		return providers;
	}

	public void setProviders(List<Provider> providers) {
		this.providers = providers;
	}

	public List<Consumer> getConsumers() {
		return consumers;
	}

	public void setConsumers(List<Consumer> consumers) {
		this.consumers = consumers;
	}

	public List<Override> getOverrides() {
		return overrides;
	}

	public void setOverrides(List<Override> overrides) {
		this.overrides = overrides;
	}

	public String getService() {
		return service;
	}

	public void setService(String service) {
		this.service = service;
	}
}
